package myfirstproject.firstproject.domain.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import myfirstproject.firstproject.domain.querry.PageQuery;
import myfirstproject.firstproject.result.PageResult;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户查询条件实体")
public class UserQueryDTO extends PageQuery {

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "用户地址")
    private String address;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "最大年龄")
    private Integer maxAge;

    @Schema(description = "最小年龄")
    private Integer minAge;

    @Schema(description = "个人简介")
    private String description;

    @Schema(description = "性别")
    private Integer sex;
}
